Disappearance of Object Identifier

Hi,

in one module, somebody managed to remove the system attribute Object Identifier and to replace it by an attribute of the same name of type text!

I do not understand how it is possible!

Is it possible to get back this attribute in this module?

Pierre
PDU - Wed Feb 27 04:34:43 EST 2013

Re: Disappearance of Object Identifier
Tony_Goodman - Wed Feb 27 09:55:53 EST 2013

Not possible.

I suspect that the new attribute has a space in the name.
Check by inserting a new column. Does "Object Identifier" appear twice in the list?

Note that Object Identifer is not really an attribute. It does not appear in the edit attributes dialog.

Tony Goodman, www.smartdxl.com

Re: Disappearance of Object Identifier
PDU - Wed Feb 27 10:51:48 EST 2013

Tony_Goodman - Wed Feb 27 09:55:53 EST 2013
Not possible.

I suspect that the new attribute has a space in the name.
Check by inserting a new column. Does "Object Identifier" appear twice in the list?

Note that Object Identifer is not really an attribute. It does not appear in the edit attributes dialog.

Tony Goodman, www.smartdxl.com

Hi,

when I insert a column, yes, i see two attributes Object Identifier; the false is written "Object Identifier" with only one space between the two words.

So OK, my problem is solved.

But this is strange :

If I edit this attribute, its name is grey, not modifiable (I am Administrator !) and its Type is 'Integer'. .
In the list of all attributes, its type is 'Text'
Pierre

Re: Disappearance of Object Identifier
llandale - Wed Feb 27 16:05:58 EST 2013

The "Administrator" cannot do everything; cannot configure CPS and cannot modify read-only Partitioned data. I'm thus guessing the attribute is part of either an exported or imported Partition. And, I'll stick my neck out, I wonder if an imported partioned module will allow you to incorrectly create an attribute named "Object Identifier". I know you cannot do that normally.

Or, more likely, there is white space you don't see. Run the following and look closely at the brackets [].

AttrDef ad string Name 

for ad in (current Module) 

do 
{  Name = ad.name 

if (Name == 
"Object Identifier") then print 
"FOUND: " print 
"[" Name 
"]  " length(Name) 
"\t" 
} print 
"\n"

  • I wonder if there are invisible characters in the name; check the printed length,.
  • Perhaps the "I" in "Identifier" is really a lower case "L". Or "O" a zero.
  • I also wonder if some old version of DOORS let you create that attribute.

Can you EDIT an obj-attr value?

-Louie